[INFO] fetching crate witnext2 0.1.2...
[INFO] checking witnext2-0.1.2 against master#ed1ce580ec27ffcfda1a95512e69185442f75ebe for pr-112999
[INFO] extracting crate witnext2 0.1.2 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate witnext2 0.1.2 on toolchain ed1ce580ec27ffcfda1a95512e69185442f75ebe
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate witnext2 0.1.2
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate witnext2 0.1.2
[INFO] tweaked toml for crates.io crate witnext2 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wast v36.0.0
[INFO] [stderr]   Downloaded wast v33.0.0
[INFO] [stderr]   Downloaded witnext v0.10.0-beta3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff94129d768d095749d3d6ea5c96fa0f45a7bbe79c8c9e848328b2f92cb3945b
[INFO] running `Command { std: "docker" "start" "-a" "ff94129d768d095749d3d6ea5c96fa0f45a7bbe79c8c9e848328b2f92cb3945b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff94129d768d095749d3d6ea5c96fa0f45a7bbe79c8c9e848328b2f92cb3945b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff94129d768d095749d3d6ea5c96fa0f45a7bbe79c8c9e848328b2f92cb3945b", kill_on_drop: false }`
[INFO] [stdout] ff94129d768d095749d3d6ea5c96fa0f45a7bbe79c8c9e848328b2f92cb3945b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c1bfd311c6af2a8dbe2848d0332f695ccf7a00f8e938700772f5f2fda8137cf
[INFO] running `Command { std: "docker" "start" "-a" "6c1bfd311c6af2a8dbe2848d0332f695ccf7a00f8e938700772f5f2fda8137cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]     Checking id-arena v2.2.1
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking witnext2 v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:334:36
[INFO] [stdout]     |
[INFO] [stdout] 334 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 334 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 334 +                 Some((_, '\'')) => '\'',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:335:35
[INFO] [stdout]     |
[INFO] [stdout] 335 |                 Some((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 335 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 335 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:35
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 336 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:337:35
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 337 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:36
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 338 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]     Checking serde_json v1.0.99
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]   --> tests/all.rs:99:22
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let result = witx2::Interface::parse_file(test);
[INFO] [stdout]    |                      ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 + use witnext2::Interface;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Interface`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 99 -         let result = witx2::Interface::parse_file(test);
[INFO] [stdout] 99 +         let result = Interface::parse_file(test);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |             witx2::TypeDefKind::Type(t) => Type::Primitive(translate_type(t)),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 262 -             witx2::TypeDefKind::Type(t) => Type::Primitive(translate_type(t)),
[INFO] [stdout] 262 +             TypeDefKind::Type(t) => Type::Primitive(translate_type(t)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 263 |             witx2::TypeDefKind::Record(r) => Type::Record {
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 263 -             witx2::TypeDefKind::Record(r) => Type::Record {
[INFO] [stdout] 263 +             TypeDefKind::Record(r) => Type::Record {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 270 |             witx2::TypeDefKind::Variant(v) => Type::Variant {
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 270 -             witx2::TypeDefKind::Variant(v) => Type::Variant {
[INFO] [stdout] 270 +             TypeDefKind::Variant(v) => Type::Variant {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |             witx2::TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 277 -             witx2::TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)),
[INFO] [stdout] 277 +             TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |             witx2::TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 278 -             witx2::TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)),
[INFO] [stdout] 278 +             TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:279:13
[INFO] [stdout]     |
[INFO] [stdout] 279 |             witx2::TypeDefKind::List(ty) => Type::List(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 279 -             witx2::TypeDefKind::List(ty) => Type::List(translate_type(ty)),
[INFO] [stdout] 279 +             TypeDefKind::List(ty) => Type::List(translate_type(ty)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:280:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |             witx2::TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 280 -             witx2::TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)),
[INFO] [stdout] 280 +             TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:281:13
[INFO] [stdout]     |
[INFO] [stdout] 281 |             witx2::TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 281 -             witx2::TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)),
[INFO] [stdout] 281 +             TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:287:13
[INFO] [stdout]     |
[INFO] [stdout] 287 |             witx2::Type::U8 => format!("u8"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 287 -             witx2::Type::U8 => format!("u8"),
[INFO] [stdout] 287 +             Type::U8 => format!("u8"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:288:13
[INFO] [stdout]     |
[INFO] [stdout] 288 |             witx2::Type::CChar => format!("c_char"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 288 -             witx2::Type::CChar => format!("c_char"),
[INFO] [stdout] 288 +             Type::CChar => format!("c_char"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:289:13
[INFO] [stdout]     |
[INFO] [stdout] 289 |             witx2::Type::U16 => format!("u16"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 289 -             witx2::Type::U16 => format!("u16"),
[INFO] [stdout] 289 +             Type::U16 => format!("u16"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |             witx2::Type::U32 => format!("u32"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 290 -             witx2::Type::U32 => format!("u32"),
[INFO] [stdout] 290 +             Type::U32 => format!("u32"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |             witx2::Type::Usize => format!("usize"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 291 -             witx2::Type::Usize => format!("usize"),
[INFO] [stdout] 291 +             Type::Usize => format!("usize"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |             witx2::Type::U64 => format!("u64"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 292 -             witx2::Type::U64 => format!("u64"),
[INFO] [stdout] 292 +             Type::U64 => format!("u64"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:293:13
[INFO] [stdout]     |
[INFO] [stdout] 293 |             witx2::Type::S8 => format!("s8"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 293 -             witx2::Type::S8 => format!("s8"),
[INFO] [stdout] 293 +             Type::S8 => format!("s8"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:294:13
[INFO] [stdout]     |
[INFO] [stdout] 294 |             witx2::Type::S16 => format!("s16"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 294 -             witx2::Type::S16 => format!("s16"),
[INFO] [stdout] 294 +             Type::S16 => format!("s16"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:295:13
[INFO] [stdout]     |
[INFO] [stdout] 295 |             witx2::Type::S32 => format!("s32"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 295 -             witx2::Type::S32 => format!("s32"),
[INFO] [stdout] 295 +             Type::S32 => format!("s32"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:296:13
[INFO] [stdout]     |
[INFO] [stdout] 296 |             witx2::Type::S64 => format!("s64"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 296 -             witx2::Type::S64 => format!("s64"),
[INFO] [stdout] 296 +             Type::S64 => format!("s64"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:297:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |             witx2::Type::F32 => format!("f32"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 297 -             witx2::Type::F32 => format!("f32"),
[INFO] [stdout] 297 +             Type::F32 => format!("f32"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:334:36
[INFO] [stdout]     |
[INFO] [stdout] 334 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 334 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 334 +                 Some((_, '\'')) => '\'',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 298 |             witx2::Type::F64 => format!("f64"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 298 -             witx2::Type::F64 => format!("f64"),
[INFO] [stdout] 298 +             Type::F64 => format!("f64"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:299:13
[INFO] [stdout]     |
[INFO] [stdout] 299 |             witx2::Type::Char => format!("char"),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 299 -             witx2::Type::Char => format!("char"),
[INFO] [stdout] 299 +             Type::Char => format!("char"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:335:35
[INFO] [stdout]     |
[INFO] [stdout] 335 |                 Some((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 335 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 335 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:35
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 336 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:300:13
[INFO] [stdout]     |
[INFO] [stdout] 300 |             witx2::Type::Handle(resource) => format!("handle-{}", resource.index()),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 300 -             witx2::Type::Handle(resource) => format!("handle-{}", resource.index()),
[INFO] [stdout] 300 +             Type::Handle(resource) => format!("handle-{}", resource.index()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:337:35
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 337 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:301:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |             witx2::Type::Id(id) => format!("type-{}", id.index()),
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use witnext2::Type;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 301 -             witx2::Type::Id(id) => format!("type-{}", id.index()),
[INFO] [stdout] 301 +             Type::Id(id) => format!("type-{}", id.index()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:36
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 338 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:154:16
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn to_json(i: &witx2::Interface) -> String {
[INFO] [stdout]     |                ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:260:31
[INFO] [stdout]     |
[INFO] [stdout] 260 |     fn translate_typedef(ty: &witx2::TypeDef) -> Type {
[INFO] [stdout]     |                               ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2`
[INFO] [stdout]    --> tests/all.rs:285:28
[INFO] [stdout]     |
[INFO] [stdout] 285 |     fn translate_type(ty: &witx2::Type) -> String {
[INFO] [stdout]     |                            ^^^^^ use of undeclared crate or module `witx2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 27 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `witnext2` (test "all") due to 28 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6c1bfd311c6af2a8dbe2848d0332f695ccf7a00f8e938700772f5f2fda8137cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c1bfd311c6af2a8dbe2848d0332f695ccf7a00f8e938700772f5f2fda8137cf", kill_on_drop: false }`
[INFO] [stdout] 6c1bfd311c6af2a8dbe2848d0332f695ccf7a00f8e938700772f5f2fda8137cf
